package com.ruoyi.supplier.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 退货商品明细业务对象
 *
 * @author ruoyi
 * @date 2023-09-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class RefundItemBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Integer refundItemId;

    /**
     * 供货商id
     */
    @NotNull(message = "供货商id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer supplierId;

    /**
     * 供货商商户ID
     */
    @NotNull(message = "供货商商户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long merchantId;

    /**
     * 采购商品的skuid
     */
    @NotNull(message = "采购商品的skuid不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer skuId;

    /**
     * 退货数量
     */
    @NotNull(message = "退货数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer shouldNum;

    /**
     * 订单单号
     */
    @NotNull(message = "订单单号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long orderId;

    /**
     * 店铺id
     */
    @NotNull(message = "店铺id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer shopId;

    /**
     * 店铺商品sku id
     */
    @NotNull(message = "店铺商品sku id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long shopSkuId;


}
